﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>塔城地区公共就业信息有务网_个人求职</title>
<link href="common/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="common/css/reset.css" />
<script type="text/javascript" src="js/xsutil.js"></script>
<link href="common/css/pageCode.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.8.0.js"></script>
<script type="text/javascript" src="js/jquery.page.js"></script>
<script type="text/javascript">
	$(function(){

		$(".tcdPageCode").createPage({
			pageCount:6,  //总页数
			current:1,    //当前页
			backFn:function(p){
				//alert(p);
				console.log(p);
                showData(p);
			}
		});
		
		//页面初始化接受搜索条件
        var path=decodeURI(window.location.search); //
        if(path!=""){
            var paths=path.split("&");
            $("#ssex").val(paths[0].split("=")[1]);
            $("#sschool").val(paths[1].split("=")[1]);
            $("#swhcd").val(paths[2].split("=")[1]);
            $("#smajor").val(paths[3].split("=")[1]);
            $("#sgznx").val(paths[4].split("=")[1]);
        }
		
		//初始化
		showData($("input[type=radio][name=ssex]:checked").val(),$("#sschool").val(),$("#swhcd").val(),$("#smajor").val(),$("#sgznx").val());  //初始化
		
		//搜索按钮
        $("#grsearch").click(function () {
            showData($("input[type=radio][name=ssex]:checked").val(),$("#sschool").val(),$("#swhcd").val(),$("#smajor").val(),$("#sgznx").val());
        });
	});

	function showData(ssex,sschool,swhcd,smajor,sgznx) {
        $.ajax({
            url:"getResumeGo",
            dataType:"json",
            type:"post",
            async:false,
            data:{
                sex:ssex,
                school:sschool,
                whcd:swhcd,
                major:smajor,
                gznx:sgznx
            },
            success:function (resumeList) {
                $("#resume").empty();
                $("#resume").append("<tr id=\"tr\">\n" +
                    "<th align=\"left\">求职者</th>\n" +
                    "<th align=\"left\">专 业</th>\n" +
                    "<th align=\"left\">文化程度</th>\n" +
                    "<th align=\"center\">毕业院校</th>\n" +
                    "</tr>");
                $.each(resumeList,function (key,resume) {
                    var str="<tr id='tr"+resume.n_id+"' onmousemove='show("+resume.n_id+")' onClick='openDiv("+resume.n_id+")'>" +
                        "<td>"+resume.name+"</td>" +
                        "<td>"+resume.major+"</td>" +
                        "<td>"+resume.whcd+"</td>" +
                        "<td align='center'>"+resume.school+"</td>" +
                        "</tr>";
                    $("#resume").append(str);
                })
            }
        });

    }
    function openDiv(resumeId) {
        //使用ajax 查询简历
        $.ajax({
            url:"getResumeById",
            dataType:"json",
            type:"post",
            data:{
                id:resumeId
            },
            success:function (resume) {
                $("#name").html(resume.name);
                $("#sex").html(resume.sex==1?"男":"女");
                $("#major").html(resume.major);
                $("#whcd").html(resume.whcd);
                $("#zzmm").html(resume.zzmm);
                $("#address").html(resume.address);
                $("#school").html(resume.school);
                $("#birthday").html(resume.birthday);
                $("#course").html(resume.course);
                $("#height").html(resume.height);
                $("#gznx").html(resume.gznx);
                $("#natio").html(resume.natio);
                var arr=resume.jobExper.split("\r\n");
                var jobExper="";
                $.each(arr,function (key,value) {
                    jobExper+="<p>"+value+"</p>";
                })
                $("#jobExper").html(jobExper);
            }
        });


        $("#grjl-tab").css({display:"block"});
        $("#divSCA").css({display:"block"});
        $("body").attr("scroll", "no");
        $("html").css("overflow", "hidden");
        jrxs();
    }
    function closeDiv() {
        $("#grjl-tab").css({display:"none"});
        $("#divSCA").css({display:"none"});
        $("body").attr("scroll", "yes");
        $("html").css("overflow", "auto");
    }
    function show(id){
        $("#tr"+id).css("background","#CCCCCC").css("font-size","13px").css("font-weight","bold").siblings().css("background","white").css("font-size","12px").css("font-weight","normal");
        $("#tr").css("background","url(images/zpb_tit.gif)");
    }

    $(function(){
        $("div.dlbt1 ul li").mouseover(function(){
            $(this).addClass("selected").siblings().removeClass("selected");
            var index=$("div.dlbt1 ul li").index(this);
            $("div.tabnr1>div").eq(index).show().siblings().hide();
        })


    })
</script>
</head>

</head>

<body>
<div class="ban"></div>

<div class="nav">
	<ul>
    	<li><a href="index.html">首　页</a></li>
    	<li><a href="web_grqz.html" >个人求职</a></li>
    	<li><a href="web_dwzp.html" >单位招聘</a></li>
    	<li><a href="web_zph.html" >招聘会</a></li>
    	<li><a href="web_article_list.html?menuName=办事指南&menuType=5" >办事指南</a></li>
    	<li><a href="web_article_list.html?menuName=就业指导&menuType=5" >就业指导</a></li>
    	<li><a href="web_article_list.html?menuName=下载中心&menuType=5" >下载中心</a></li>
    </ul>
</div>

<div class="main_bg"></div>

<!--个人求职 -->
<div class="grqz mb">
    <div class="title"><a href="grqz.html" title="个人求职 ">个人求职</a></div>
    
    <div class="qzzp_nr">

    
      <div class="fl w665 ">
        <div class="qzzp_nr_ul_tit"><strong>求职列表</strong></div>
        <table border="0" cellspacing="0" cellpadding="0" class="tab-grqz" id="resume">
           <tr id="tr">
            <th align="left">求职者</th>
            <th align="left">专 业</th>
            <th align="left">文化程度</th>
            <th align="center">毕业院校</th>
          </tr>
          <tr  id="tr1" onmousemove="show(1)" onClick="openDiv(1)">
            <td>张三</td>
            <td>计算机</td>
            <td>本科</td>
            <td align="center">哈尔滨xxxx大学</td>
          </tr>
          <tr  id="tr2" onmousemove="show(2)" onClick="openDiv(2)">
            <td>张三</td>
            <td>计算机</td>
            <td>本科</td>
            <td align="center">哈尔滨xxxx大学</td>
          </tr>
          <tr  id="tr3" onmousemove="show(3)" onClick="openDiv(3)">
            <td>张三</td>
            <td>计算机</td>
            <td>本科</td>
            <td align="center">哈尔滨xxxx大学</td>
          </tr>
          <tr  id="tr4" onmousemove="show(4)" onClick="openDiv(4)">
            <td>张三</td>
            <td>计算机</td>
            <td>本科</td>
            <td align="center">哈尔滨xxxx大学</td>
          </tr>
          <tr  id="tr5" onmousemove="show(5)" onClick="openDiv(5)">
            <td>张三</td>
            <td>计算机</td>
            <td>本科</td>
            <td align="center">哈尔滨xxxx大学</td>
          </tr>
          <tr  id="tr6" onmousemove="show(6)" onClick="openDiv(6)">
            <td>张三</td>
            <td>计算机</td>
            <td>本科</td>
            <td align="center">哈尔滨xxxx大学</td>
          </tr>
        </table>
		<table border="0" cellspacing="0" cellpadding="0" class="num" >
		  <tr>
			<td>
			  <!--<div class="list_page"><p><a href="#"><img src="images/list_pape_left.gif" /></a><span>1</span><a href="#">2</a><a href="#">3</a><a href="#">4</a><a href="#">5</a><a href="#"><img src="images/list_pape_right1.jpg" /></a><a href="#"><img src="images/list_pape_top.jpg" /></a></p></div>-->
			  <div class="tcdPageCode"></div>
			</td>
		  </tr>
		</table>
      </div>
        
        <div class="gwss">
        	<div class="gwssbt">
                <ul>
                  <li><a href="#" id="hlgk1" onMouseOver="hlgk('cone_','hlgk',1,2)" class="hover">求职搜索</a></li>
                </ul>
                <span><a href="#"><img src="images/new_more.jpg" /></a></span>
            </div>
          
            <div class="gwss_nr" id="cone_hlgk_1">
                <table border="0" align="center" cellpadding="0" cellspacing="0" class="gwss-tab">
                    <tr>
                    <td width="68">学　校</td>
                    <td width="212" align="right" ><input id="sschool"/></td>
                    </tr>
                    <tr>
                    <td >学　历</td>
                    <td align="right" ><input id="swhcd"/></td>
                    </tr>
                    <tr>
                    <td >所学专业</td>
                    <td align="right" ><input id="smajor"/></td>
                    </tr>
                    <tr>
                    <td >工作年限</td>
                    <td align="right" ><input id="sgznx"/></td>
                    </tr>
                    <tr>
                        <td >性　别</td>
                        <td>
                            &nbsp;&nbsp;男<input type="radio" name="ssex" value="1"/>&nbsp;&nbsp;女<input type="radio" name="ssex" value="2"/>
                        </td>
                    </tr>
                    <tr>
                    <td colspan="2" align="center"><img src="images/cx.gif " id="grsearch" width="109" height="24" /></td>
                  </tr>
                </table>
          </div>
      </div>
    </div>
</div>
    
    
<!--显示详情-->
<div id="grjl-tab">
    	<div id="divSCA" class="divlist" name="divlist">
            <div class="xx-tit"><strong>求职信息</strong><span><input type="button" value="" onClick="closeDiv()" class="gbbut"></span></div>
            
            <div class="xqtit"><strong>基本信息</strong></div>
            <table border="0" cellspacing="0" cellpadding="0" class="xx-tab">
              <tr>
                <td bgcolor="#f6f6f6"><label>姓名：</label></td>
                <td id="name">张三</td>
                <td bgcolor="#f6f6f6"><label>性别：</label></td>
                <td id="sex">男</td>
                <td bgcolor="#f6f6f6"><label>民族：</label></td>
                <td id="natio">汉</td>
              </tr>
              <tr>
                <td bgcolor="#f6f6f6"><label>政治面貌：</label></td>
                <td id="zzmm">党员</td>
                <td bgcolor="#f6f6f6"><label>身高：</label></td>
                <td id="height">175cm</td>
                <td bgcolor="#f6f6f6"><label>出生年月：</label></td>
                <td id="birthday">1987年9月9日</td>
              </tr>
              <tr>
                <td bgcolor="#f6f6f6"><label>电话：</label></td>
                <td>***********</td>
                <td bgcolor="#f6f6f6"><label>E-mail：</label></td>
                <td>***********</td>
                <td bgcolor="#f6f6f6"><label>地址：</label></td>
                <td id="address">北京</td>
              </tr>
              <tr>
                <td bgcolor="#f6f6f6"><label>毕业院校：</label></td>
                <td id="school">100100</td>
                <td bgcolor="#f6f6f6"><label>主修课程：</label></td>
                <td colspan="3" id="course"></td>
              </tr>
              <tr>
                <td bgcolor="#f6f6f6"><label>学历：</label></td>
                <td id="whcd">本科</td>
                <td bgcolor="#f6f6f6"><label>专业：</label></td>
                <td id="major">艺术设计</td>
                <td bgcolor="#f6f6f6"><label>工作年限：</label></td>
                <td id="gznx">9</td>
              </tr>
            </table>
            
            <div class="xqtit"><strong>工作经验</strong></div>
            <div class="w952" id="jobExper"></div>

			<input type="button" value="关   闭" onClick="closeDiv()" class="close">
            
        </div>
</div>
<div class="foot"  >
<ul>
  相关网站导航：<select name="menu1" onchange="MM_jumpMenu('parent',this,0)" style="margin-left:20px;display:inline;">
      <option>-- 自  治 区 政 府 部 门 --</option>
    </select> 
    <select name="menu2" onchange="MM_jumpMenu('parent',this,0)" style="margin-left:20px;display:inline;">
      <option>-- 地 州 网  站 --</option>
    </select>
        <select name="menu3" onchange="MM_jumpMenu('parent',this,0)" style="margin-left:20px;display:inline;">
          <option>--主 要  新 闻  媒  体 --</option>
        </select>
        <select name="menu4" onchange="MM_jumpMenu('parent',this,0)" style="margin-left:20px;display:inline;">
          <option>-- 主 要 门 户 及 合 作 网 站 --</option>
        </select>
  </ul>

<p>主办单位：塔城地区人力资源和社会保障局<br /> 
技术支持：塔城地区人力资源和社会保障局信息化办公室<br /> 
</p>
</div>

<script type="text/javascript">

	



	

</script>
</body>
</html>
